package com.zcxk.dao.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Timestamp;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * @author wangping
 * @date 2022-09-10 20:48
 */
@TableName("user")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class User {

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	private Long uid;

	private String username;

	private String email;

	private String phone;

	private String password;

	private Timestamp createTime;

	private Timestamp updateTime;

}
